package com.example.demo.entity;

import com.example.demo.util.PageParam;

/**
 * @author zero
 *
 */
public class EtUser extends PageParam {
	
	
	public static final Integer IS_NOT_ADMIN = 0;
	
	private String userId;
	private String userName;
	private String password;
	private String passwordSalt;
	private Integer isAdmin;//1是管理者，0普通成员
	private String companyName;
	private String phoneNum;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPasswordSalt() {
		return passwordSalt;
	}
	public void setPasswordSalt(String passwordSalt) {
		this.passwordSalt = passwordSalt;
	}
	public Integer getIsAdmin() {
		return isAdmin;
	}
	public void setIsAdmin(Integer isAdmin) {
		this.isAdmin = isAdmin;
	}
	
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	@Override
	public String toString() {
		return "EtUser [userId=" + userId + ", userName=" + userName + ", password=" + password + ", passwordSalt="
				+ passwordSalt + ", isAdmin=" + isAdmin + "]";
	}
	 
	

}
